<template>
  <div id="app">
    <router-view :name="$router.name"/>
  </div>
</template>

<script>
export default {
  name: "app",
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  outline: none;

  --theme-color: #14324a;
  --theme-color2: #D42A2A;
}

#app {
  width: 100%;
  height: 100%;
  background-color: #f5f5f6;
}

#nprogress .bar {
  background: var(--theme-color) !important;
}

#nprogress .spinner-icon {
  border-top-color: var(--theme-color) !important;
  border-left-color: var(--theme-color) !important;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-button {
  background-color: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
}
.theme-button:active {
  background-color: #1f1c1c !important;
  border-color: #1f1c1c !important;
}

.theme-border-bottom {
  border-bottom: 3px solid var(--theme-color);
  border-image: linear-gradient(to right, var(--theme-color), transparent) 1;
}

.theme-border-top {
  border-top: 3px solid var(--theme-color);
  border-image: linear-gradient(to right, var(--theme-color), transparent) 1;
}

</style>
